package com.windowes.weichang.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.windowes.weichang.pojo.HistoryCustomer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HistoryCustomerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(HistoryCustomer record);

    int insertSelective(HistoryCustomer record);

    HistoryCustomer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HistoryCustomer record);

    int updateByPrimaryKey(HistoryCustomer record);

    int batchInsert(@Param("customers") List<HistoryCustomer> customers);

    List<HistoryCustomer> selectByPage(Page<HistoryCustomer> page, @Param("keyword") String keyword);
}